package com.tmindtech.api.enterprise.model

import com.tmindtech.api.base.model.BaseEntity
import java.util.*
import javax.persistence.Entity
import javax.persistence.Table

/**
 * Created by RexQian on 2017/11/21.
 */
@Entity
@Table(name = "t_enterprise_check_record")
class EnterpriseCheckRecord(
        var enterpriseId: Long? = null,
        var contact: String? = null,
        var resultMsg: String? = null,
        var resultType: Int? = null,
        var resultDate: Date? = null,
        var staffs: List<String>? = null,
        var staffPhone: String? = null,
        var longitude: Double? = null,
        var latitude: Double? = null,
        var address: String? = null
) : BaseEntity()

enum class CheckResultType(val value: Int) {
    FAIL(0),
    PASS(1)
}
